home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / gnu / cvs-1_3.lha / cvs-1.3 / lib / Makefile.in < prev    next >
Makefile  |  1992-03-31  |  2KB  |  92 lines

  1. # Makefile for library files used by GNU CVS.
  2. # Do not use this makefile directly, but only from `../Makefile'.
  3. # Copyright (C) 1986, 1988-1992 Free Software Foundation, Inc.
  4.  
  5. # This program is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2, or (at your option)
  8. # any later version.
  9.  
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. # GNU General Public License for more details.
  14.  
  15. # You should have received a copy of the GNU General Public License
  16. # along with this program; if not, write to the Free Software
  17. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  
  19. # @(#)Makefile.in 1.12 92/03/31
  20.  
  21. SHELL = /bin/sh
  22.  
  23. srcdir = @srcdir@
  24. @VPATH@
  25.  
  26. SOURCES = argmatch.c \
  27. error.c getopt.c getopt1.c \
  28. sighandle.c \
  29. strippath.c stripslash.c yesno.c \
  30. getdate.y \
  31. hostname.c fnmatch.c ftruncate.c mkdir.c rename.c regex.c \
  32. strdup.c getwd.c alloca.c
  33.  
  34. OBJECTS = argmatch.o \
  35. error.o getopt.o getopt1.o \
  36. sighandle.o \
  37. strippath.o stripslash.o yesno.o \
  38. getdate.o \
  39. @LIBOBJS@
  40.  
  41. DISTFILES = Makefile.in getopt.h \
  42. fnmatch.h regex.h system.h wait.h $(SOURCES)
  43.  
  44. xxx:
  45.     @cd ..; $(MAKE) all SUBDIRS=lib
  46.  
  47. all: libcvs.a
  48. .PHONY: all
  49.  
  50. install: all
  51. .PHONY: install
  52.  
  53. tags: $(DISTFILES)
  54.     ctags $(DISTFILES)
  55.  
  56. TAGS: $(DISTFILES)
  57.     etags $(DISTFILES)
  58.  
  59. ls:
  60.     @echo $(DISTFILES)
  61. .PHONY: ls
  62.  
  63. clean:
  64.     rm -f *.a *.o *.tab.c getdate.c
  65. .PHONY: clean
  66.  
  67. distclean: clean
  68.     rm -f tags TAGS Makefile
  69. .PHONY: distclean
  70.  
  71. realclean: distclean
  72. .PHONY: realclean
  73.  
  74. dist:
  75.     ln $(DISTFILES) ../`cat ../.fname`/lib
  76. .PHONY: dist
  77.  
  78. libcvs.a: $(OBJECTS)
  79.     $(AR) cr $@ $(OBJECTS)
  80.     -$(RANLIB) $@
  81.  
  82. getdate.c: getdate.y
  83.     @echo expect 8 shift/reduce conflicts
  84.     $(YACC) $(srcdir)/getdate.y
  85.     -if test -f y.tab.c ; then mv y.tab.c getdate.c ; fi
  86.     -if test -f getdate.tab.c ; then mv getdate.tab.c getdate.c ; fi
  87.  
  88. fnmatch.o: fnmatch.h
  89. getopt1.o: getopt.h
  90. regex.o: regex.h
  91. getwd.o: system.h
  92.